GtkExpander: Use G_PARAM_EXPLICIT_NOTIFY
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Jun 2014 15:57:13 +0000 (11:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:31:01 +0000 (13:31 -0400)
gtk/gtkexpander.c

index 00cd43eb7d73f81eee2af0d73f5a27fc2cdf3902..dc2d4c2f439715f08adcbc231681ced0651cf979 100644 (file)
@@ -267,7 +267,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          P_("Expanded"),
                                                          P_("Whether the expander has been opened to reveal the child widget"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (gobject_class,
                                    PROP_LABEL,
@@ -275,7 +275,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                         P_("Label"),
                                                         P_("Text of the expander's label"),
                                                         NULL,
-                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                                        GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT));
 
   g_object_class_install_property (gobject_class,
                                    PROP_USE_UNDERLINE,
@@ -283,7 +283,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          P_("Use underline"),
                                                          P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (gobject_class,
                                    PROP_USE_MARKUP,
@@ -291,7 +291,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          P_("Use markup"),
                                                          P_("The text of the label includes XML markup. See pango_parse_markup()"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (gobject_class,
                                    PROP_SPACING,
@@ -301,7 +301,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                      0,
                                                      G_MAXINT,
                                                      0,
-                                                     GTK_PARAM_READWRITE));
+                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (gobject_class,
                                    PROP_LABEL_WIDGET,
@@ -317,7 +317,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          P_("Label fill"),
                                                          P_("Whether the label widget should fill all available horizontal space"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
   /**
    * GtkExpander:resize-toplevel:
@@ -333,7 +333,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
                                                          P_("Resize toplevel"),
                                                          P_("Whether the expander will resize the toplevel window upon expanding and collapsing"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE));
+                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("expander-size",